﻿<%@ page language="java" import="java.util.*,ct.zxd.db.*" pageEncoding="utf-8"
contentType="text/html"
%>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
    <title>欢迎光临智行千里</title>
    <link rel="stylesheet" href="css/pintuer.css">
    <link rel="stylesheet" href="css/admin.css">
    
</head>
<% //String shop = (String)request.getAttribute("shopid");
String shop = "1";
%>
<body style="background-color:#f2f9fd;">
<div class="header bg-main">
  <div class="logo margin-big-left fadein-top">
    <h1><img src="images/y.jpg" class="radius-circle rotate-hover" height="50" alt="" />智行千里</h1>
  </div>
  <div class="head-l"><a class="button button-little bg-red" href="Login.jsp"><span class="icon-power-off"></span> 退出登录</a> </div>
</div>
<div class="leftnav">
  <h2><span class="icon-user"></span>店铺管理</h2>
  <ul style="display:block">
    <li><a href="front.jsp?shopid=<%=shop %>" target="right"><span class="icon-caret-right"></span>首页管理</a></li>
   <!-- <li><a href="pass.jsp" target="right"><span class="icon-caret-right"></span>修改密码</a></li> 密码功能暂不实现 --> 
    <li><a href="category.jsp?shopid=<%=shop %>" target="right"><span class="icon-caret-right"></span>分类管理</a></li>  
    <li><a href="adv.jsp?shopid=<%=shop %>" target="right"><span class="icon-caret-right"></span>商品管理</a></li>   
    <li><a href="book.jsp?shopid=<%=shop %>" target="right"><span class="icon-caret-right"></span>订单管理</a></li>
    </ul>  
</div>

<div class="admin">
  <iframe scrolling="auto" rameborder="0" src="front.jsp" name="right" width="100%" height="100%"></iframe>
</div>
<div style="text-align:center;">
<%
	Dao dao = new Dao();
	List<Map<String,Object>>list = dao.getTableByid("shop", shop, null);
	Map<String,Object> map = list.get(0);
 %>
<p></p>
</div>
</body>
</html>